.item-wrapper {
  width: 375px;
  height: 90px;
  margin: 1px 0;
  padding: 17px 30px 18px;
  box-shadow: 0 1px 0 0 #313131;
  background-color: black;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.item-avanta {
  width: 54px;
  height: 54px;
  border: solid 3px;
  border-radius: 27px;
}

.item-description-wrapper {
  flex: 1;
  display: flex;
  // flex-direction: column;
  align-items: center;
  padding-left: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  h2 {
    // width: 60px;
    margin-bottom: 0;
    font-size: 18px;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .span-admin {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #000;
    background: #f5de46;
    padding: 2px 6px;
    border-radius: 20px;
    margin-left: 6px;
    height: 22px;
  }
}


.canvas {
  width: 100vw;
  height: 100vh;
  position: relative;
  background: #fafafa;
  cursor: crosshair;
  /* 十字光标提升精准度 */
}

.drawing-layer {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  /* 不干扰点击和鼠标移动事件 */
}

.distance-info {
  position: fixed;
  top: 20px;
  left: 20px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #333;
  font-size: 14px;
}

.reset-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background: #1890ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.reset-btn:hover {
  background: #096dd9;
}

text {
  white-space: nowrap;
  font-family: Arial, sans-serif;
}


// 十字样式
/* 容器样式 */
.target-box {
  width: 80px;
  height: 80px;
  // margin: 50px auto;
  // border: 2px solid #333;
  position: relative;
  /* 作为十字的定位参考 */
  background-color: #ffecec;
}

/* 十字样式 - 绝对定位在容器中心 */
// .fixed-cross {
//   position: absolute;
//   top: 50%;
//   left: 50%;
//   transform: translate(-50%, -50%);
// }

/* 水平线 */
.fixed-cross__h {
  width: 100%;
  height: 2px;
  background-color: #0066cc;
}

/* 垂直线 */
.fixed-cross__v {
  width: 2px;
  height: 100%;
  background-color: #0066cc;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.x-box {
  position: relative;
  width: 100px;
  height: 100px;
  border: 1px solid #000;

  .x-xy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .x-x {
    width: 100%;
    height: 2px;
    background-color: #1890ff;

  }

  .x-y {
    width: 2px;
    height: 100%;
    background-color: #1890ff;
  }
}